<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2025/1/24
  Time: 19:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>无标题文档</title>
  <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>

  <div class="place">
    <span>位置：</span>
    <ul class="placeul">
      <li><a href="#">用户管理</a></li>
      <li><a href="#">查询用户</a></li>
      <li><a href="#">查询结果</a></li>
    </ul>
  </div>

  <div class="rightinfo">
    <div class="formtitle1"><span>用户列表</span></div>

    <table class="tablelist" >
      <thead>
      <tr>
        <th>序号</th>
        <th>用户名</th>
        <th>用户性别</th>
        <th>手机号</th>
        <th>QQ号</th>
        <th>操作</th>
      </tr>
      </thead>
      <tbody>
      <c:forEach items="${list}" var="user" varStatus="status">
        <tr>
          <td>${status.count}</td>
          <td>${user.username}</td>
          <td>
            <c:choose>
              <c:when test="${user.usersex == 1}">
                男
              </c:when>
              <c:otherwise>
                女
              </c:otherwise>
            </c:choose>
          </td>
          <td>${user.phonenumber}</td>
          <td>${user.qqnumber}</td>
          <td><a href="userManager.do?flag=preUpdate&userid=${user.userid}" class="tablelink">修改</a> &nbsp;&nbsp;&nbsp;&nbsp;  <a href="userManager.do?userid=${user.userid}" class="tablelink click"> 删除</a></td>
        </tr>
      </c:forEach>
      </tbody>
    </table>

    <div class="tip">
      <div class="tiptop"><span>提示信息</span><a></a></div>
      <div class="tipinfo">
        <span><img src="images/ticon.png" /></span>
        <div class="tipright">
          <p>是否确认对信息的修改 ？</p>
          <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
      </div>
      <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
      </div>

    </div>

  </div>

</body>

</html>
